package com.baizhi.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 
 * 
 * @author chenjf
 * @email 3442748294@qq.com
 * @date 2021-08-26 10:25:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("yx_category")
public class Category implements Serializable {

	@TableId(type = IdType.ASSIGN_ID,value = "id")
	private String id;

	@TableField(value = "cate_name")
	private String cateName;

	@TableField(value = "levels")
	private Integer levels;

	@TableField(value = "parent_id")
	private String parentId;

}
